﻿using Ninject.Core;
using Odin.Contracts.Data;
using Odin.Contracts.Services;

namespace Odin.Execution.Services
{
	public class LocalSessionManager : ISessionManager
	{
		[Inject]
		public IBrowserService BrowserService { get; set; }

		public void BeginSession(Session session)
		{
			BrowserService.Navigate(session);
		}

		public void EndSession(Session session)
		{
			BrowserService.ShutDown(session);
		}
	}
}